﻿<%@ Page Title="Past Publications &laquo; Sylvain Analytics, Inc." Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="PastPublications.aspx.cs" Inherits="PastPublications" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
 <div class="mainSection">
        <div class="mainSection-top">
        </div>
        <div class="mainSection_span">
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <h1>
                            Publications</h1>
                    </td>
                    <td>
                    </td>
                    <td>
                        <h2>
                        </h2>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td rowspan="3" >
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td valign="top" class="mainSection-Text-left">
                        <ul>
                            <li><a href="CurrentPublications.aspx">Current Publications</a></li>
                            <li class="active"><a href="PastPublications.aspx">Past Publications</a></li>
                        </ul>
                    </td>
                    <td>
                        <table width="100%" border="0">
                        <tr>
                            <td valign="top">
                                <div id="mainDiv" runat="server">
                                </div>
                            </td>
                        </tr>

                        <tr>
                            <td>
                                <asp:GridView ID="grvPublications" HorizontalAlign="Center" CellPadding="5" runat="server"
                                AutoGenerateColumns="False" AllowPaging="true" PageSize="10" CssClass="grdv-style"
                                DataKeyNames="PublicationsId" onrowdatabound="grvPublications_RowDataBound">
                                <Columns>
                                    <asp:TemplateField HeaderText="Title" ItemStyle-Width="25%" ItemStyle-VerticalAlign="Top">
                                        <ItemTemplate>
                                            <asp:HiddenField ID="hdnSelectedItem" runat="server" Value='<%#Eval("PublicationsId")%>' />
                                            <asp:Label ID="lblTitle" runat="server" Text='<%#Eval("Title")%>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Description" ItemStyle-Width="75%" ItemStyle-VerticalAlign="Top">
                                        <ItemTemplate>
                                            <asp:Label ID="lblDescription" runat="server" Text='<%#Eval("PageDescription")%>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="View"  ItemStyle-Width="50px" ItemStyle-VerticalAlign="Top">
                                        <ItemTemplate>
                                            <asp:HiddenField ID="hidFileName" Value='<%# Eval("PublicationsId") %>' runat="server" />
                                            <asp:HyperLink ID="hlnkPubFileName" CssClass="details" runat="server" Visible="false">Details</asp:HyperLink>
                                            <%--<a href = "javascript:void(0)" class="toplink" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">ViewPopup</a>--%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <HeaderStyle CssClass="grdv-header-style" />
                                <RowStyle CssClass="grdv-row-style" />
                                <AlternatingRowStyle CssClass="grdv-altrow-style" />
                                <FooterStyle CssClass="grdv-footer-style" />
                                <PagerStyle CssClass="grdv-pager-style" />
                                <EmptyDataRowStyle CssClass="grdv-empty-style" />
                            </asp:GridView>
                            </td>
                        </tr>
                        </table>
                    </td>

                </tr>
            </table>
        </div>
    </div>
  <div id="light" class="white_content">        
        <a href = "javascript:void(0)" style="right:5; top:5" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Close</a>
    </div>
<div id="fade" class="black_overlay"></div>
   
</asp:Content>

